package com.ltkj.ticket.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 活动门票票种配置对象 tic_activity_type
 * 
 * @author ruoyi
 * @date 2023-08-31
 */
@ApiModel(value = "活动门票票种配置")
public class TicActivityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty("主键id")
    private Long ticActivityTypeId;

    /** 活动门票ID */
    @Excel(name = "活动门票ID")
    @ApiModelProperty("活动门票ID")
    private Long activityId;

    /** 票种id */
    @Excel(name = "票种id")
    @ApiModelProperty("票种id")
    private Long ticTypeId;

    /** 价格 */
    @Excel(name = "价格")
    @ApiModelProperty("价格")
    private BigDecimal activityStockPrice;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("日期")
    private Date activityStockDate;

    /** 数据状态 */
    @ApiModelProperty("数据状态")
    private String isDel;

    /** 库存 */
    @Excel(name = "库存")
    @ApiModelProperty("库存")
    private Long activityStockCount;

    /** 剩余库存 */
    @Excel(name = "剩余库存")
    @ApiModelProperty("剩余库存")
    private Long activityStockResidue;

    public void setTicActivityTypeId(Long ticActivityTypeId) 
    {
        this.ticActivityTypeId = ticActivityTypeId;
    }

    public Long getTicActivityTypeId() 
    {
        return ticActivityTypeId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setTicTypeId(Long ticTypeId) 
    {
        this.ticTypeId = ticTypeId;
    }

    public Long getTicTypeId() 
    {
        return ticTypeId;
    }
    public void setActivityStockPrice(BigDecimal activityStockPrice) 
    {
        this.activityStockPrice = activityStockPrice;
    }

    public BigDecimal getActivityStockPrice() 
    {
        return activityStockPrice;
    }
    public void setActivityStockDate(Date activityStockDate) 
    {
        this.activityStockDate = activityStockDate;
    }

    public Date getActivityStockDate() 
    {
        return activityStockDate;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setActivityStockCount(Long activityStockCount) 
    {
        this.activityStockCount = activityStockCount;
    }

    public Long getActivityStockCount() 
    {
        return activityStockCount;
    }
    public void setActivityStockResidue(Long activityStockResidue) 
    {
        this.activityStockResidue = activityStockResidue;
    }

    public Long getActivityStockResidue() 
    {
        return activityStockResidue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ticActivityTypeId", getTicActivityTypeId())
            .append("activityId", getActivityId())
            .append("ticTypeId", getTicTypeId())
            .append("activityStockPrice", getActivityStockPrice())
            .append("activityStockDate", getActivityStockDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("activityStockCount", getActivityStockCount())
            .append("activityStockResidue", getActivityStockResidue())
            .toString();
    }
}
